package bean;

import com.mysql.fabric.xmlrpc.base.Data;

public class cart{
	private Integer id;
	private Integer userid;
	private Integer proid;
	private Integer num;
	private Data createtime;
	private String a;
	private String b;
	private String c;
	/**
	 * @return the cartid
	 */
	public Integer getCartid() {
		return id;
	}
	/**
	 * @param cartid the cartid to set
	 */
	public void setCartid(Integer cartid) {
		this.id = cartid;
	}
	/**
	 * @return the userid
	 */
	public Integer getUserid() {
		return userid;
	}
	/**
	 * @param userid the userid to set
	 */
	public void setUserid(Integer userid) {
		this.userid = userid;
	}
	/**
	 * @return the proid
	 */
	public Integer getProid() {
		return proid;
	}
	/**
	 * @param proid the proid to set
	 */
	public void setProid(Integer proid) {
		this.proid = proid;
	}
	/**
	 * @return the num
	 */
	public Integer getNum() {
		return num;
	}
	/**
	 * @param num the num to set
	 */
	public void setNum(Integer num) {
		this.num = num;
	}
	/**
	 * @return the createtime
	 */
	public Data getCreatetime() {
		return createtime;
	}
	/**
	 * @param createtime the createtime to set
	 */
	public void setCreatetime(Data createtime) {
		this.createtime = createtime;
	}
	/**
	 * @return the a
	 */
	public String getA() {
		return a;
	}
	/**
	 * @param a the a to set
	 */
	public void setA(String a) {
		this.a = a;
	}
	/**
	 * @return the b
	 */
	public String getB() {
		return b;
	}
	/**
	 * @param b the b to set
	 */
	public void setB(String b) {
		this.b = b;
	}
	/**
	 * @return the c
	 */
	public String getC() {
		return c;
	}
	/**
	 * @param c the c to set
	 */
	public void setC(String c) {
		this.c = c;
	}
	@Override
	public String toString() {
		return "cart [cartid=" + id + ", userid=" + userid + ", proid=" + proid + ", num=" + num + ", createtime="
				+ createtime + ", a=" + a + ", b=" + b + ", c=" + c + "]";
	}
	public cart( Integer userid, Integer proid, Integer num, Data createtime) {
		super();
		
		
		this.userid = userid;
		this.proid = proid;
		this.num = num;
		this.createtime = createtime;
		
	}
	public cart(Integer cartid, Integer userid, Integer proid, Integer num, Data createtime, String a, String b,
			String c) {
		super();
		this.id = cartid;
		this.userid = userid;
		this.proid = proid;
		this.num = num;
		this.createtime = createtime;
		this.a = a;
		this.b = b;
		this.c = c;
	}
	public cart(Integer cartid, Integer userid, Integer proid, Integer num, Data createtime			) {
		super();
		this.id = cartid;
		this.userid = userid;
		this.proid = proid;
		this.num = num;
		this.createtime = createtime;
		
	}
	public cart() {
		super();
	}
	
	
}